package com.hong.spring.datasource.service;

import com.hong.spring.datasource.entity.UserRole;

/**
 * @Auther: csh
 * @Date: 2020/8/4 18:27
 * @Description:
 */
public interface IUserOrgService {
    void save(UserRole userRole);
    /**
     *
     * 功能描述:验证propagation = Propagation.SUPPORTS的结果
     *
     * @param:
     * @return:
     * @auther: csh
     * @date: 2020/8/5 10:09
     */
    void save2(UserRole userRole);
    /**
     *
     * 功能描述: 验证propagation = Propagation.MANDATORY的结果
     *
     * @param:
     * @return:
     * @auther: csh
     * @date: 2020/8/5 14:24
     */
    void save3(UserRole userRole);
    /**
     *
     * 功能描述:验证PROPAGATION_REQUIRES_NEW
     *
     * @param:
     * @return:
     * @auther: csh
     * @date: 2020/8/5 16:48
     */
    void save4(UserRole userRole);
    /**
     *
     * 功能描述:验证PROPAGATION_NOT_SUPPORTED
     *
     * @param:
     * @return:
     * @auther: csh
     * @date: 2020/8/5 17:30
     */
    void save5(UserRole userRole);
    void update(UserRole userRole);
    UserRole findById(Integer id);
}
